<?php

function delete_category($id) {
	$query = "DELETE FROM `category` WHERE category_id='".$id."'";
	notifier::add($query, "debug");
	notifier::add("Category successfully added", "success"); 
	mysql_query($query) or die ( mysql_error() );
}

function delete_link($id) {
	$query = "DELETE FROM `links` WHERE link_id ='".$id."'";
	notifier::add("Link successfully deleted", "success"); 
	
	mysql_query($query) or die ( mysql_error() );
}

?>